<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>浮动综合practice</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }
        .box1 {
            width: 243px;
            height: 500px;
            float: left;
        }
        .box2 {
            width: 700px;
            height: 486px;
            float: left;
        }
        a {
            display: block;
            width: 243px;
            background-color: gray;
            text-decoration: none;
            color: white;
            /* padding-left: 80px; */
            text-align: center;
            
        }
        a:hover {
            background-color: orange;
            color: black;
        }
        .box2 img {
            width: 100%;
            height: 230px;
        }
    </style>
</head>
<body>
    <div class="box1">
        <a href="#">手机 电话卡</a>
        <a href="#">电视 盒子</a>
        <a href="#">笔记本 平板</a>
        <a href="#">家电 插线板</a>
        <a href="#">出行 穿戴</a>
        <a href="#">智能 路由器</a>
        <a href="#">电源 配件</a>
        <a href="#">健康 儿童</a>
        <a href="#">耳机 音响</a>
        <a href="#">生活 箱包</a>
    </div>
    <div class="box2">
        <img src="images/fudong - 副本 (2).png" alt="">
    </div>
</body>
</html>